package com.gtc.zsk.job.cycle;

import com.gtc.zsk.manager.MailManager;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class DailyReport {

    @Resource
    private MailManager mailManager;


    @Scheduled(cron = "0 0 20 * * ? ")
    public void dailyReport() {
        mailManager.dailySendMessage();
    }
}
